package com.wujunshen.rest;

import com.wujunshen.core.util.DateUtil;
import org.junit.Test;

import java.util.Date;

public class T {

    @Test
    public void test1() {
        long time = 1543507200000L;
        Date date = new Date(time);
        System.out.println(DateUtil.convertDateToYYYYMMDDHHMMSS(date));

        Date date1 = DateUtil.convertStringToDate("2019-00-00 00:00:01");
        System.out.println(date1.getTime());

    }

}
